import pathlib

def read_file(file_path: str):
    path_obj = pathlib.Path(file_path)
    if not path_obj.exists() or not path_obj.is_file():
        return {'success': False, 'message': 'File does not exist or is not a file.'}
    with open(file_path, 'r') as file:
        content = file.read()
    return {'success': True, 'content': content}